negotiator.boaframework.offeringstrategy.anac2010
Class IAMhaggler2010_Offering

java.lang.Object
  extended by negotiator.boaframework.OfferingStrategy
      extended by negotiator.boaframework.offeringstrategy.anac2010.IAMhaggler2010_Offering

public class IAMhaggler2010_Offering
extends OfferingStrategy

This is the decoupled Offering Strategy for IAMhaggler2010 (ANAC2010). The code was taken from the ANAC2010 IAMhaggler2010 and adapted to work within the BOA framework. The default opponent model implementation selects the best bid for the opponent. Decoupling Negotiating Agents to Explore the Space of Negotiation Strategies T. Baarslag, K. Hindriks, M. Hendrikx, A. Dirkzwager, C.M. Jonker


Field Summary
protected  double acceptMultiplier
           
protected  java.util.ArrayList<Pair<java.lang.Double,java.lang.Double>> bestOpponentBidUtilityHistory
           
protected  BidSpace bidSpace
           
protected  ConcessionFunction cf
           
protected static double MAXIMUM_ASPIRATION
           
protected  BidDetails myLastBid
           
protected  boolean opponentIsHardHead
           
protected  Bid opponentPreviousBid
           
protected  double utility0
           
protected  double utility1
           
 
Fields inherited from class negotiator.boaframework.OfferingStrategy
endNegotiation, helper, negotiationSession, nextBid, omStrategy, opponentModel
 
Constructor Summary
IAMhaggler2010_Offering()
           
 
Method Summary
 BidDetails determineNextBid()
          Determines the next bid the agent will offer to the opponent
 BidDetails determineOpeningBid()
          Determines the first bid to be offered by the agent
protected  void finalize()
           
protected  double getTargetUtility(double myUtility, double oppntUtility)
           
 void init(NegotiationSession negoSession, OpponentModel model, OMStrategy oms, java.util.HashMap<java.lang.String,java.lang.Double> parameters)
          Initializes the offering strategy.
protected  Bid proposeInitialBid()
           
protected  Bid proposeNextBid(Bid opponentBid)
           
 
Methods inherited from class negotiator.boaframework.OfferingStrategy
endSession, getHelper, getNextBid, isEndNegotiation, loadData, setNextBid, storeData
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cf

protected ConcessionFunction cf

bestOpponentBidUtilityHistory

protected java.util.ArrayList<Pair<java.lang.Double,java.lang.Double>> bestOpponentBidUtilityHistory

utility0

protected double utility0

utility1

protected final double utility1
See Also:
Constant Field Values

MAXIMUM_ASPIRATION

protected static double MAXIMUM_ASPIRATION

bidSpace

protected BidSpace bidSpace

myLastBid

protected BidDetails myLastBid

opponentPreviousBid

protected Bid opponentPreviousBid

acceptMultiplier

protected final double acceptMultiplier
See Also:
Constant Field Values

opponentIsHardHead

protected boolean opponentIsHardHead
Constructor Detail

IAMhaggler2010_Offering

public IAMhaggler2010_Offering()
Method Detail

init

public void init(NegotiationSession negoSession,
                 OpponentModel model,
                 OMStrategy oms,
                 java.util.HashMap<java.lang.String,java.lang.Double> parameters)
          throws java.lang.Exception
Description copied from class: OfferingStrategy
Initializes the offering strategy. If parameters are used, this method should be overridden.

Overrides:
init in class OfferingStrategy
Parameters:
negoSession - state of the negotiation.
model - opponent model which may be used.
oms - opponent model strategy which may be used.
parameters - optional parameters for the offering strategy.
Throws:
java.lang.Exception - if the offering strategy fails to initialize.

getTargetUtility

protected double getTargetUtility(double myUtility,
                                  double oppntUtility)

proposeInitialBid

protected Bid proposeInitialBid()

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

proposeNextBid

protected Bid proposeNextBid(Bid opponentBid)

determineNextBid

public BidDetails determineNextBid()
Description copied from class: OfferingStrategy
Determines the next bid the agent will offer to the opponent

Specified by:
determineNextBid in class OfferingStrategy
Returns:
bid to offer to the opponent.

determineOpeningBid

public BidDetails determineOpeningBid()
Description copied from class: OfferingStrategy
Determines the first bid to be offered by the agent

Specified by:
determineOpeningBid in class OfferingStrategy
Returns:
the opening bid of the agent.